﻿using Ekton_Manage_DomainCore.Aggregate;
using Ekton_Manage_InfrastructureCore.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_IBusiness
{
    public interface IOrderList
    {
        //查询全部订单
        Task<Tuple<List<user_orderView>, int>> SelectOrderList(QueryDataParame query);
        //查询订单数量
        Task<Message> GetOrderCount(int type);
        //订单量
        Task<Message> GetOrderNumber();

        //修改订单状态
        Task<Message> PutOrderState(int id,int state);
    }
}
